package com.hmys.api.model;

import java.math.BigDecimal;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Builder;
import lombok.Data;

@Data
public class WebVideo {
    private Long id;

    private Integer type;

    private String title;

    private String description;

    private String activityTime;

    private String activityAddress;

    private String activitySpeaker;

    private String video;

    private String audio;

    private String photo;

    private Integer sort;
    @JsonIgnore
    private Boolean status;

    private Integer pageView;

    private Date createTime;
    @JsonIgnore
    private Date updateTime;
    @JsonIgnore
    private Long createId;
    @JsonIgnore
    private Integer updateId;

    private String seoTitle;

    private String seoKeyword;

    private String seoDescription;

    @JsonIgnore
    private String country;
    @JsonIgnore
    private String city;
    @JsonIgnore
    private String houseAddress;
    @JsonIgnore
    private BigDecimal housePriceCny;
    @JsonIgnore
    private BigDecimal housePriceDols;
    @JsonIgnore
    private String projectType;
    @JsonIgnore
    private String houseType;
    @JsonIgnore
    private String houseSize;
    @JsonIgnore
    private String investmentType;

    private String content;
    @JsonIgnore
    private Boolean isRecommend;

    private Long houseId;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    public Date getCreateTime() {
        return createTime;
    }
}